import '@/styles/base.scss'
import 'element-plus/dist/index.css'
import '@/assets/icon/iconfont.css'
import 'normalize.css'
import 'reset-css'
import * as Icons from '@element-plus/icons-vue'; // 引入所有图标

import { createApp } from 'vue'
import App from './App.vue'

import pinia from './stores';
import router from './router'

const app = createApp(App)
// 全局注册所有图标
Object.keys(Icons).forEach(key => {
  app.component(key, Icons[key]);
});

app.use(pinia)
app.use(router)

app.mount('#app')
